SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7e7005ae164c6177f6ddfbc6ac090404fdd3777c80f7e428c3e792d161a49d3' 
  AND token = 'a2aS9iomRv87J8va+HmVbIyJ9Hf4qeGEEgaWWU716T8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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