SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6fedc32d15a3cc5605eb09764df07fbbcd10b5540e773d878be257b39e2b5994' 
  AND token = 'ykIarnhelqzN/0BGkdbsC40We22oSvn4uruNoEXxUmI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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