SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '22743d4bbf7033cebd544b5848f9254f2b1bbe90cbfcfc7d031027964039a0b4' 
  AND token = 'qEhPbMZuGYa+RD6VOLn7yaOgM0ldV2TpWH0kgMDRRwU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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