SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edef367661e87b1919a9db2bc2bef8b63392be96807aaa5f91d2405eb7f07465' 
  AND token = 'GIJc6wUiiQDdrOoH8Tk3ZqTZFVF4L8E9OIt4jEw2dEc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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