SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd9d57482768169e7105dffb1874a8430c161ff62a3b404a3d35a0afc1ce0144' 
  AND token = 'Cvq9K2ZpM8nSb6UyOtl8yqGh8hhWwIb/yibks8W5ANc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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