SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd49c0a523c148a9862167356dfd857652fc5d165c75303e31edef614dfbda03f' 
  AND token = 'peD9wrpVMGMUK9UI3vgwTH/RHBfg6k3DQukQLDsxsUQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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