SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba34bf6531e78c7aa7f3c58f826bf49e94c1101213f4734b7d9061241cfa9d9b' 
  AND token = 'tPXhkTxNMVL+IrZWeV/MFlk+MsK5qLG5sKwmm1xmCW4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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