SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a7e579cfd990c9b25516af35506669e9d78d1802462034bbefaf4b7d923e0318' 
  AND token = 'YULy++Yx4/aUSc6h6u244VYHFTMv/i8EOv6RqOWdyug=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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