SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '304be844ff1b74ca0efa6c03527986feb8ed2935ec00e09df19bb656c2b6a5b3' 
  AND token = 'W+2BsgUhYTtvd4ZG77gUdfo94Id2Ii3fhw8BSMDu71k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}