SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bdd44db7d728e683963fdd609ae9324e0487db9eb9fd8938a69f44b8601fcfdc' 
  AND token = 'ogss58xm8g5X7GyQEPv/GptsCcVure6XeXs9nd1y7c0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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