SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'defcfba242107e52a061280153605467af16399591318b44a190e1efb52ab2c5' 
  AND token = '0gn2tgs1ZHq+mdvu40993nrh3TqCgP4gAF7eqF99l7g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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