SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af794462467a70c63336ccb95a7607bf7bb1fe9d35329ac4fcd4b2276457ec2b' 
  AND token = 'GxxqA4hKPhMCQuXjbb6iLB/oO5u3WCeiYZ/MlkE8nxI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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