SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '79861fe9b2a093debcec802677c67f33f20fb358002016a631861759c07b3f38' 
  AND token = 'wAAYnqdHaV9EPabGkMZDF35mh6l3tWKSribGbX93AAs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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