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

Query time 0.00049

JSON explain

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