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

Query time 0.00028

JSON explain

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