SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd02db0d561304af0b4fd2cc8793d48520e6aa49a9be0af21082c5f84ccc57ee9' 
  AND token = 'OwwB6myfHl+7EWQvj1NT31z7KJWRl1i6sSP2RxjZ0R0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}