SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ea2ba3ad022fe8c166fae295830f073a3439a498f0437bbc4222562bcd498f59' 
  AND token = 'loDsl5TIPSCFBzIbpJC6um12V/fgbEpzvYHM3sjNcwg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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