SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3d66a3acbf35c8802a2cad9d969e62b83b0318a68f9697c955ad51356122e300' 
  AND token = 'eiCkxc8gdoxiKOFDrON/iH3df22quUIldleps0+T/UI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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