SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02e331278ff6002cae98309382e4eaac9624392e3cf8821363a474de9398e68f' 
  AND token = 'i5jQXRu61EFUKLsnfaG07Eytasmr2TOa2yrctb9DEtE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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