SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ffa3527e9efdfbb93b0e449fb06d0342bc0046d0bc64993cda95b60513348dc7' 
  AND token = '42kM/Cm419z1i42UCHmzhAcSVxFeBMus5c9k2me45mg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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