SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5771806bae6c2874ea6d13531743ed4dede1438130d5c204b42c5c733c7c08c' 
  AND token = '5qiwozazpZ+7NwEfOnl2bASK8krAFWugYfQBuwbVvNM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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