SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fa4f512f69fd8887eef7ad3c8738943aa0ae0045a51e0c18ba989b58cbb71251' 
  AND token = 'VYBxZjPvia8d/a1+AvymbNwD0C4gjoSENUpZoriBoaQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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