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

Query time 0.00029

JSON explain

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