SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'def3772cb5efe64d0573da1733790d894c953f5b8934b4ea2855c603ab54dd7f' 
  AND token = 'CgbdjETE+/9ISqh4UWSmResDm6iVD5mKGGBdPRBPk2c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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