SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '866c23fcb7597ffab647832546915dcc58e1327197d90fd42e46ac3c52250252' 
  AND token = 'mlimoYiE+im6UPZqRXLxkPu8VoODtmQ5LNLHBwIF9x8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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