SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a0f5cdcf89c7b594602a9df7b94e4e40400b5ffe4fbdff84b70d2e9e0240a594' 
  AND token = 'W/VErkZLAjaWx2ZzKrV6t/skYt2o8p76wMOEq/5O1NM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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