SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ea946e9b69fd8f08b3ed7f077640772bd25078faf3dc69c94cd7c4d77dbd122a' 
  AND token = 'QmJFuZZaLdfeLWkw9EKKueYGADGEdOE/O6IrTXYG9Q4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00062

JSON explain

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