SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a9c4b9446bb768c7b03997bc7818b7cc20b322f55ed981573e24c971041027e' 
  AND token = '0MefwNWzpYBSgyothiNuvvYdz2WuHomgWY0sm1M0v7w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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