SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'df052f0f22e8b711064345c72b0fefcad262eb558f39b78550aed4a209383827' 
  AND token = 'Nri72Uv8B6xL0geiLP1kFe9eN+d/aHDZRb8jmzzcQxg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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