SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3137859c8c7ecbd7d6d96f5284bfccf175e1b7cd518019734d79807afac4d78b' 
  AND token = 'hPg/MF31wwIBUcHUn452PhgLay8H5R1Gvek2U3liF1o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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